package com.daiyang.campus_lucky_draw.contreller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class CreateUserByActivityParam {
    /**
     * ⽤⼾id
     */
    @NotNull(message = "⽤⼾id不为空！")
    private Long userId;
    /**
     * ⽤⼾名
     */
    @NotBlank(message = "⽤⼾名不能为空")
    private String userName;
}